|
|
|
|
|
<WDPic variable>.HorizontalSymmetry (Function) In french: <Variable WDPic>.SymétrieHorizontale Flips an image contained in a WDPic variable (on the background layer) with respect to a horizontal axis (symmetry with respect to a horizontal axis).
MyWDPicImage is WDPic = "Test.gif" // Symmetry of image in WDPic variable with respect to a horizontal axis MyResult is boolean MyResult = MyWDPicImage.HorizontalSymmetry() IF MyResult = False THEN Error("The operation failed") IMG_MyDrawing = MyWDPicImage
Syntax
<Result> = <WDPic image>.HorizontalSymmetry()
<Result>: Boolean - True if the symmetry was performed,
- False otherwise.
<WDPic image>: WDPic variable Name of the WDPic variable to be used. Only the background layer will be handled. The symmetry is performed with respect to the media horizontal axis of the image. The image is directly modified. Remarks End of drawing If <WDPic variable>.EndDrawing and <WDPic variable>.HorizontalSymmetry are called in the same process, the image changes will not be displayed.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|